/**   
 * Copyright © 2018 YouoTech Of China,All Right Reserved.
 * 功能描述：
 * @Package: com.youotech.olm 
 * @author: GuanRuming Email:guanruming@youotech.com   
 * @date: 2018年7月18日 下午4:34:16 
 */
package com.ctcemti.mdm;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @ClassName SpringBootStartApplication
 * @Description 外置tomcat启动类
 * @Author bxf
 * @Date 10:21 2019/9/9
 * @Version V1.0
 **/
@EnableTransactionManagement
public class SpringBootStartApplication extends SpringBootServletInitializer{

	@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
		// 注意这里一定要指向原先用main方法执行的BimmdmApplication启动类
		return builder.sources(BimmdmApplication.class);
    }
}
